package com.jtny.nytb.equipment.vo.typeAndArea;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.jtny.component.entity.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
public class DeviceAreaExcelVO extends BaseDTO implements Serializable {

    @ExcelProperty(value = "设备区域名称")
    @ColumnWidth(30)
    @ApiModelProperty(value = "设备区域名称")
    private String name;

    @ApiModelProperty(value = "设备编码")
    private String code;

    @ExcelProperty("父设备区域名称")
    @ColumnWidth(30)
    @ApiModelProperty(value = "父设备区域名称")
    private String parentName;

    @ExcelProperty("等级")
    @ApiModelProperty(value = "等级")
    private Integer level;

}

